<table border="1" align="center">

<th>Linea</th>
<th>Marca</th>
<th>Target</th>
<th>Promedio</th>
<th>OP</th>
<th>Saving</th>
<th>Numero de bolsas</th>


<%
calendar1="2010-06-21 08:00"
calendar2="2010-06-21 08:30"
Linea="L01N"
Tubo="C"
Hora="9:00 - 9:30"
SET conexion=Server.CreateObject("ADODB.Connection")
conexion.Open "Provider=SQLOLEDB; DATA SOURCE=VALP-MESSRV02; UID=sa; PWD=messrv; DATABASE=wasp "
	SET registros=Server.CreateObject("ADODB.RecordSet")	
		Registros.Open"EXEC cuenta '"&calendar1&"','"&calendar2&"','"&linea&"','"&tubo&"','"&hora&"'",conexion
		do while not registros.eof
			
response.write("<tr><td>"&registros.fields("linea")&"</td>")
response.write("<td>"&registros.fields("marca")&"</td>")
response.write("<td>"&registros.fields("target")&"</td>")
response.write("<td>Dato</td>")
response.write("<td>Dato</td></tr>")
		registros.movenext
			loop
				conexion.close
				%>

</table>